﻿using System;
using Internal.KuiHuaBaoDian.Services.Battle.Entity;
using KuiHuaBaoDian.Services.Battle.Entity;

namespace KuiHuaBaoDian.Services.Battle.Entity {

    public interface IBattleEntityRecord {
    }

    [Implement(typeof(IBattleEntityRecord))]
    public class KHBD_BattleEntityRecord : KHBD_Object, IBattleEntityRecord, IBattleEntityRecordInternal {

        public IBattleEntity Entity { get; private set; }

        void IBattleEntityRecordInternal.Initialize(IBattleEntity entity) {
        }

        protected override void Dispose() {
            Entity = null;
        }
    }
}

namespace Internal.KuiHuaBaoDian.Services.Battle.Entity {

    public interface IBattleEntityRecordInternal {

        void Initialize(IBattleEntity entity);
    }
}
